package face.pay.common.enterprise.service;

import face.pay.entity.AlipayMachInfo;
import face.pay.entity.UserInfo;
import face.pay.util.ResultMessage;
import face.pay.util.page.PageData;
import face.pay.util.page.PageParam;

public interface IAlipayMachInfoService {
    /**
     * 查询支付宝进件资料
     * @return
     */
    AlipayMachInfo queryAlipayMachInfo( UserInfo loginUser,Integer mcId);

    /**
     * 编辑支付宝进件资料
     * @param alipayMachInfo
     * @param loginUser
     * @return
     */
    ResultMessage edit(AlipayMachInfo alipayMachInfo, UserInfo loginUser);


    /**
     * 分页查询进件处理列表
     * @param pageParam
     * @param alipayMachInfo
     * @param loginUser
     * @return
     */
    PageData queryData(PageParam pageParam, AlipayMachInfo alipayMachInfo, UserInfo loginUser);


    /**
     * oem 处理进件
     * @param alipayMachInfo
     * @param loginUser
     * @return
     */
    ResultMessage oemEdit(AlipayMachInfo alipayMachInfo, UserInfo loginUser);


    /**
     * 图片上传
     * @param fileBytes
     * @param filename
     * @param keyName
     * @param userId
     * @param loginUser
     * @return
     */
    ResultMessage fielUpload(byte[] fileBytes, String filename, String keyName, Integer userId, UserInfo loginUser);
}
